package com.lysj.order.order.controller;

import com.lysj.admin.utils.spring.foundation.base.BaseContent;
import com.lysj.admin.utils.web.Resp;
import com.lysj.order.order.dto.OrderDto;
import com.lysj.order.order.service.OrderService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @ Author ：drj.
 * @ Date  ：Created in 10:17 2019/3/21
 * @ Description: 订单回调
 **/

@Slf4j
@RestController
@RequestMapping("/order/management")
public class OrderManagementController extends BaseContent {

    @Resource
    private OrderService orderService;


    @PostMapping("/wx_order_callback")
    public void wxOrderCallback() throws Exception{

        orderService.wxOrderCallback();
    }


}
